QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    main.cpp \
    src/UI/EditEKETestCase.cpp \
    src/UI/EditProcedure.cpp \
    src/UI/EditTRDPTestCase.cpp \
    src/UI/EditTestCaseMain.cpp \
    src/UI/LoadExcelConfig.cpp \
    src/UI/Login.cpp \
    src/UI/TCMS.cpp \
    src/UI/TestCaseAdd.cpp \
    src/UI/TestCaseCreationInfo.cpp \
    src/UI/TestForm.cpp \
    src/UI/UserInfoForm.cpp \
    src/UI/UserManagerForm.cpp \
    src/UI/ddumsgtest.cpp \
    src/UI/ddutestthread.cpp \
    src/UI/dialogmodifycase.cpp \
    src/UI/dialogprotocalconfig.cpp \
    src/UI/dialogselectheader.cpp \
    src/UI/dialogsheetnameselect.cpp \
    src/UI/dialogusermdify.cpp \
    src/UI/formconfigtrdp.cpp \
    src/UI/formeke.cpp \
    src/UI/formhistory.cpp \
    src/UI/formmvb.cpp \
    src/UI/formtablewidgetitem.cpp \
    src/UI/formtcpfileclient.cpp \
    src/UI/netconfigform.cpp \
    src/UI/ocrform.cpp \
    src/UI/projectInfo.cpp \
    src/dataCache/ekedatacache.cpp \
    src/dataCache/ekeresult.cpp \
    src/dataCache/loadmvbportcache.cpp \
    src/dataCache/mvbdevicedata.cpp \
    src/dataCache/mvbportdata.cpp \
    src/dataCache/mvbprotocalcache.cpp \
    src/dataCache/testresult.cpp \
    src/main.cpp

HEADERS += \
    src/UI/EditEKETestCase.h \
    src/UI/EditProcedure.h \
    src/UI/EditTRDPTestCase.h \
    src/UI/EditTestCaseMain.h \
    src/UI/LoadExcelConfig.h \
    src/UI/Login.h \
    src/UI/TCMS.h \
    src/UI/TestCaseAdd.h \
    src/UI/TestCaseCreationInfo.h \
    src/UI/TestForm.h \
    src/UI/UserInfoForm.h \
    src/UI/UserManagerForm.h \
    src/UI/ddumsgtest.h \
    src/UI/dialogmodifycase.h \
    src/UI/dialogprotocalconfig.h \
    src/UI/dialogselectheader.h \
    src/UI/dialogsheetnameselect.h \
    src/UI/dialogusermdify.h \
    src/UI/formconfigtrdp.h \
    src/UI/formeke.h \
    src/UI/formhistory.h \
    src/UI/formmvb.h \
    src/UI/formtablewidgetitem.h \
    src/UI/formtcpfileclient.h \
    src/UI/netconfigform.h \
    src/UI/ocrform.h \
    src/UI/projectInfo.h \
    src/dataCache/ekedatacache.h \
    src/dataCache/ekeresult.h \
    src/dataCache/loadmvbportcache.h \
    src/dataCache/mvbdevicedata.h \
    src/dataCache/mvbportdata.h \
    src/dataCache/mvbprotocalcache.h \
    src/dataCache/testresult.h

FORMS += \
    src/UI/EditEKETestCase.ui \
    src/UI/EditProcedure.ui \
    src/UI/EditTRDPTestCase.ui \
    src/UI/EditTestCase.ui \
    src/UI/EditTestCaseMain.ui \
    src/UI/LoadExcelConfig.ui \
    src/UI/Login.ui \
    src/UI/TestCaseAdd.ui \
    src/UI/TestCaseCreationInfo.ui \
    src/UI/TestForm.ui \
    src/UI/UserInfoForm.ui \
    src/UI/UserManagerForm.ui \
    src/UI/ddumsgtest.ui \
    src/UI/dialogmodifycase.ui \
    src/UI/dialogprotocalconfig.ui \
    src/UI/dialogselectheader.ui \
    src/UI/dialogsheetnameselect.ui \
    src/UI/dialogusermdify.ui \
    src/UI/formconfigtrdp.ui \
    src/UI/formeke.ui \
    src/UI/formhistory.ui \
    src/UI/formmvb.ui \
    src/UI/formtablewidgetitem.ui \
    src/UI/formtcpfileclient.ui \
    src/UI/netconfigform.ui \
    src/UI/ocrform.ui \
    src/UI/projectInfo.ui \
    src/UI/tcms.ui

INCLUDEPATH += $$PWD/src/third
INCLUDEPATH += $$PWD/src/UI

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

RESOURCES += \
    tcms.qrc
